package com.moyu.article.domain.post.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.moyu.article.domain.board.Board;
import com.moyu.article.domain.board.vo.BoardQueryVO;
import lombok.Data;
import org.springframework.data.annotation.Transient;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @Author 赵彦博
 * @Date 2025/4/1 20:40
 */
@Data
public class PostQueryVO {
    private String postId;

    private String boardId;
    private String userId;
    private String title;
    private String content;
    private Integer visitCount;
    private Integer state;
    private Long createBy;
    private LocalDateTime createTime;
    private Long updateBy;
    private LocalDateTime updateTime;

    private List<BoardQueryVO> boards;
    private String nickName;
    private Boolean isLiked;
    private Integer likeCount;

}
